import request from '@/utils/request'

// 查询模型列表
export function modelList(data) {
    return request({
      url: '/workPlan/findWorkPlanPageList',
      method: 'post',
      data
    })
}

//计划人员信息
export function FuWu(){
  return request({
    url:'/workPlan/findPersonPlanListByPlanId',
    method:'post'
  })
}



//计划执行人
export function ZhiXing(data){
  return request({
    url: '/sys/user/findUserList',
    method: 'post',
    data:data
  })
}

// 删除
export function removeProcess(data) {
    return request({
      url: '/workPlan/deleteWorkPlanById',
      method: 'post',
      data
    })
}
// 新增工作计划   
export function addUser(data) {
  return request({
    url: '/workPlan/addOrUpdateWorkPlan',
    method: 'post',
    data: data
  })
}

//修改工作计划
export function updateUser(data) {
  return request({
    url: '/workPlan/addOrUpdateWorkPlan',
    method: 'post',
    data: data
  })
} 


